package com.youlai.boot.system.converter;

import com.youlai.boot.system.model.form.TaskTableForm;
import org.mapstruct.Mapper;
import com.youlai.boot.system.model.entity.TaskTable;

/**
 * 首页对象转换器
 *
 * @author youlaitech
 * @since 2025-02-21 14:51
 */
@Mapper(componentModel = "spring")
public interface TasktableConverter{

    TaskTableForm toForm(TaskTable entity);

    TaskTable toEntity(TaskTableForm formData);
}